Copyright(C) 1994 Terumasa KODAKA , Takeshi KONO


â– SCSI interface common BIOS

INT 1Bh - Function 00h (common to SCSI)
Classification   SCSI BIOS
Name             RESET
Target           SCSI
Input            AH=00h
                 AL=Cxh (x is any value between 0 and 7)
                 DX=operation mode setting parameter (DH=00h, DL=80H: Timeout Period)
Output           CF, AH=end status
                 AL=Cnh (n is OWN SCSI bus ID)
Explanation    o Initializes the WD33C93 on the SCSI I/F board.
               o For details, see the "SCSI Interface Technical Book" (published by Coral).
Related          0000:04BCh


INT 1Bh - Function 03h (common to SCSI)
Classification   SCSI BIOS
Name             NEGATE ACK
Target           SCSI
Input            AH=03h
                 AL=Cnh (n is SCSI ID)
Output           CF,ZF,AH=Exit status
Explanation    o Negates the asserted state of ACK.
                 Used after the MESSAGE IN phase.
               o For details, see "SCSI Interface Technical Book" (published by Coral).
Related


INT 1Bh - Function 07h (Common to SCSI)
Classification   SCSI BIOS
Name             SELECT-WITHOUT-ATN
Target           SCSI
Input            AH=07h
                 AL=Cnh (n is SCSI ID)
Output           CF,ZF,AH=Exit status
Explanation    o Selects the target following bus arbitration.
                 Do not assert ATN while selection is in progress.
                 If selection is successful, transition to command phase.
               o For details, see "SCSI Interface Technical Book" (published by Coral).
Related


INT 1Bh - Function 09h (Common to SCSI)
Classification   SCSI BIOS
Name             SELECT-WITHOUT-ATN & TRANSFER
Target           SCSI
Input            AH=09h
                 AL=Cnh (n is SCSI ID)
                 ES:BX=Data address
                 CX=Data length
                 DS:DX=Parameter address

                 <Parameter table format>
                 -------------+-------------
                 Address      | Contents
                 -------------+-------------
                 ES:BX+00h    | Target LUN
                 ES:BX+01h    | Transfer direction
                 ES:BX+02h    | CDB length
                 ES:BX+03h    | Reserve
                 ES:BX+04-0Fh | CDB (12 bytes)
                 -------------+-------------

Output           CF,ZF,AH=Exit status
                 ES:BX=Remaining data address
                 CX=Remaining data length
Explanation    o Combination Commands
                 Supports groups 0 (CDB 6 bytes), 1 (CDB 10 bytes), and 5 (CDB 12 bytes).
               o For details, see the "SCSI Interface Technical Book" (published by Coral).
Related


INT 1Bh - Function 18h (Common to SCSI)
Classification   SCSI BIOS
Name             TRANSFER DATA OUT
Target           SCSI
Input            AH=18h
                 AL=Cnh (n is SCSI ID)
                 ES:BX=Data address
                 CX=Data length
Output           CF,ZF,AH=Exit status
                 ES:BX=Remaining data address
                 CX=Remaining data length
Explanation    o Transmits data.
               o For details, see "SCSI Interface Technical Book" (published by Coral).
Related


INT 1Bh - Function 19h (Common to SCSI)
Classification   SCSI BIOS
Name             TRANSFER DATA IN
Target           SCSI
Input            AH=19h
                 AL=Cnh (n is SCSI ID)
                 ES:BX=Data address
                 CX=Data length
Output           CF,ZF,AH=Exit status
                 ES:BX=Remaining data address
                 CX=Remaining data length
Explanation    o Receives data.
                 For details, see the "SCSI Interface Technical Book" (published by Coral).


INT 1Bh - Function 1Ah (Common to SCSI)
Classification   SCSI BIOS
Name             TRANSFER COMMAND
Target           SCSI
Input            AH=1Ah
                 AL=Cnh (n is SCSI ID)
                 ES:BX=Data address
                 CX=Data length
Output           CF,ZF,AH=Exit status
                 ES:BX=Remaining data address
                 CX=Remaining data length
Explanation    o Sends a command.
               o For details, see "SCSI Interface Technical Book" (published by Coral).
Related


INT 1Bh - Function 1Bh (Common to SCSI)
Classification   SCSI BIOS
Name             TRANSFER STATUS IN
Target           SCSI
Input            AH=1Bh
                 AL=Cnh (n is SCSI ID)
                 ES:BX=Data address
                 CX=Data length
Output           CF,ZF,AH=Exit status
                 ES:BX=Remaining data address
                 CX=Remaining data length
Explanation    o Receives a status.
                 For details, see the "SCSI Interface Technical Book" (published by Coral).


INT 1Bh - Function 1Ch (Common to SCSI)
Classification   SCSI BIOS
Name             TRANSFER UNSPECIFIED INFO. OUT
Target           SCSI
Input            AH=1Ch
                 AL=Cnh (n is SCSI ID)
                 ES:BX=Data address
                 CX=Data length
Output           CF,ZF,AH=Exit status
                 ES:BX=Remaining data address
                 CX=Remaining data length
Explanation    o Sends unspecified information.
                 A function prepared for future standard expansion.
               o For details, see "SCSI Interface Technical Book" (published by Coral).
Related


INT 1Bh - Function 1Dh (common to SCSI)
Classification   SCSI BIOS
Name             TRANSFER UNSPECIFIED INFO. IN
Target           SCSI
Input            AH=1Dh
                 AL=Cnh (n is SCSI ID)
                 ES:BX=Data address
                 CX=Data length
Output           CF,ZF,AH=Exit status
                 ES:BX=Remaining data address
                 CX=Remaining data length
Explanation    o Receives unspecified information.
                 A function prepared for future standard expansion.
               o For details, see "SCSI Interface Technical Book" (published by Coral).
Related


INT 1Bh - Function 1Eh (common to SCSI)
Classification   SCSI BIOS
Name             TRANSFER MESSAGE OUT
Target           SCSI
Input            AH=1Eh
                 AL=Cnh (n is SCSI ID)
                 ES:BX=Data address
                 CX=Data length
Output           CF,ZF,AH=Exit status
                 ES:BX=Remaining data address
                 CX=Remaining data length
Explanation    o Sends a message.
               o For details, see "SCSI Interface Technical Book" (published by Coral).
Related


INT 1Bh - Function 1Fh (common to SCSI)
Classification   SCSI BIOS
Name             TRANSFER MESSAGE IN
Target           SCSI
Input            AH=1Fh
                 AL=Cnh (n is SCSI ID)
                 ES:BX=Data address
                 CX=Data length
Output           CF,ZF,AH=Exit status
                 ES:BX=Remaining data address
                 CX=Remaining data length
Explanation    o Receives a message.
               o For details, see "SCSI Interface Technical Book" (published by Coral).
Related